home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / dos / math / procalc / proform.dat < prev    next >
Text File  |  1994-03-05  |  2KB  |  12 lines

  1. 0005BORROW_AMT      PAYMENT*(1-(1+INTERESTRATE)^(-NUM_PAYMENTS))/INTERESTRATE                 % Finds amount which can be borrowed for given PAYMENT and INTERESTRATE   % and number of payments. Interestrate is the rate for one payment period.
  2. 0005FRAC_OF_DAY     DEC(HOURS, MINUTES, SECONDS)/24  % Returns time in hours, minutes, seconds% as a fraction of a day.
  3. 0005GC_DISTANCE     ARCCOS(SIN(LAT1)*SIN(LAT2) +COS(LAT1)*COS(LAT2)*COS(LONG2-LONG1))*60      % Use F7 (degrees) to find great circle distance between two points given % longitudes and latitudes, in NAUTICAL miles. Statue miles =MN *1.1515503
  4. 0005NORMAL          1/SQRT(TWOPI)*EXP(-SQR(X)/2) % Normal distribution function.
  5. 0005NUM_PAYMENTS    -(LN(1 -INTERESTRATE*PRES_VALUE/PAYMENT)/LN(1+INTERESTRATE))              % Finds # payments to pay PRES_VALUE loan with fixed PAYMENT and          % INTERESTRATE for one payment period.
  6. 0005PAYMENT         VALUE*INTERESTRATE/(1-(1+INTERESTRATE)^(-N))                              % PAYMENT to pay loan VALUE for INTERESTRATE AND N payments. Interest rate% is annual % divided by N periods per year. Eg: 7.5%, monthly=0.075/12.
  7. 0005PAYMENT_AMT     FUTURE_VAL*INTERESTRATE/((1+INTERESTRATE)*(N+1) -1-INTERESTRATE))         % Determines the payment required to attain FUTURE_VAL given INTERESTRATE % and N payments.
  8. 0005QUADRATIC1      (-B+SQRT(B*B-4*A*C))/(A+A)  % Finds one root of quadratic equation.       % Better techniques are suggested, depending upon coefficients A, B & C.
  9. 0005QUADRATIC2      (-B-SQRT(B*B-4*A*C))/(A+A)  % Finds other root of quadratic equation.     % Better techniques are suggested, depending upon coefficients A, B & C.
  10. 0005RECT_R          SQRT(SQR(X)+SQR(Y))  % Converts rectangular X, Y to polar radius.
  11. 0005RECT_THETA      ARCTAN2(X,Y)  % Converts rectangular X, Y to polar angle theta in radians.
  12.